﻿using SqlSugar;
using System;

namespace Raffles.OA.Data
{
    /// <summary>
    /// 日 期：2023-12-25 13:54:41
    /// 描 述：编号规则实体类
    /// </summary>
    [SugarTable("Sys_NumberRule")]
    public class NumberRule : BaseEntity
    {
        /// <summary>
        /// 目标表单
        /// </summary>
        public string FormCode { get; set; }
        /// <summary>
        /// 编号前缀
        /// </summary>
        public string Prefix { get; set; }
        /// <summary>
        /// 编号规则
        /// </summary>
        public int CodeRule { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public int SerialNumber { get; set; }
        /// <summary>
        /// 生成规则
        /// </summary>
        public string GenerativeRule { get; set; }
        /// <summary>
        /// 启用标志，默认为：true
        /// </summary>
        public bool? EnabledMark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedOn { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreatedBy { get; set; }
        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime? UpdatedOn { get; set; }
        /// <summary>
        /// 编辑人
        /// </summary>
        public int? UpdatedBy { get; set; }
    }
}
